package com.hollysys.usersync.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 平台返回 - 实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@JsonIgnoreProperties(ignoreUnknown = true)
public class Response<T> {

    /**
     * 响应消息
     */
    private String message;

    /**
     * 状态码
     */
    private Integer status;

    /**
     * 时间戳
     */
    private Long timestamp;

    /**
     * 数据负载
     */
    private T data;
}
